<%@ page language="java" pageEncoding="UTF-8"%>
<%@include file="/inc/tag.jsp"%>

<div class="table-responsive">
	<table class="table table-hover table-bordered table-striped" >
<thead>
  <tr>
	<th><div >日期</div></th>
    <th>申请人</th>
    <th>联系电话</th>
    <th>身份证</th>
    <th>认证状态</th>
    <th>分成比例</th>
    <th>操作</th>
  </tr>
  </thead>
  <tbody>
<c:forEach items="${distributorPagination.records}" var="it" varStatus="status">
  <tr id="${it.id}">
 		       <td >
	 		       <span id="time">
	 		      	 ${it.createTime}
	 		      	 <%--  <fmt:formatDate value="${it.createTime}" pattern="yyyy-MM-dd"></fmt:formatDate>  --%>
	 		       </span>
 		       </td>
  			<td>${it.username}</td>
  			<td>${it.phone}</td>
  		
			
			<td>${it.identity}</td>
			<td>
				<c:if test="${it.status eq  1}">
				<span>未审核</span>
				</c:if>
				<c:if test="${it.status eq 2}">
				<span style="color: green">已通过</span>	
				</c:if>
				<c:if  test="${it.status eq 3}">
				<span style="color: red">已冻结/已驳回</span>
				</c:if>
			</td>
			<td><c:if test="${! empty it.proportion }"><fmt:formatNumber type="number" value="${it.proportion} " maxFractionDigits="2"/></c:if>
				<c:if test="${! empty it.reviewPoint }">/<c:if test="${it.reviewStatus eq 1}"><span style="color: green">待复核</span></c:if>
				<c:if test="${it.reviewStatus eq 3}"><span style="color: red">已驳回</span></c:if>
				(<fmt:formatNumber type="number" value="${it.reviewPoint } " maxFractionDigits="2"/>)</c:if></td>
			<td >
				<a class="btn btn-primary btn-sm"  href="javascript:void(0);" onclick="list.auditing(${it.id})" id="auditingBtn" data-toggle="tooltip">审核</a>
			</td>
  </tr>
			 
			 
</c:forEach>
</tbody>
</table>
<wt:page targetForm="_listForm" pagination="${distributorPagination}" />

</div>

